﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="LightWeb.DomainModel" namespace="LightWeb.DomainModel">
  <class name="ArticalInfo" table="ArticalInfo">
    <id name="ArticalId">
      <generator class="native">
      </generator>
    </id>
    <property name="Title" type="String" length="50"></property>
    <property name="Summary" type="String" length="50"></property>
    <property name="PostDate" type="DateTime" length="50"></property>
    <property name="UpdateDate" type="DateTime" length="50"></property>
  </class>

  <class name="ArticalComment" table="ArticalComment">
    <id name="CommentId">
      <generator class="native">
      </generator>
    </id>
    <property name="ArticalId" type="int"></property>
    <property name="Name" type="String" length="50"></property>
    <property name="Email" type="String" length="50"></property>
    <property name="Site" type="String" length="50"></property>
    <property name="Date" type="DateTime" length="50"></property>
    <property name="Content" type="String" length="50"></property>
  </class>

  <class name="TagInfo" table="TagInfo">
    <id name="TagId">
      <generator class="native">
      </generator>
    </id>
    <property name="Name" type="String" length="50"></property>
  </class>
</hibernate-mapping>